﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using YemekteyizLib;
using YemekteyizLib.Bs;

public partial class kayitOl : System.Web.UI.Page
{
    protected void Page_Load(object sender, EventArgs e)
    {

    }
    protected void LinkButton1_Click(object sender, EventArgs e)
    {
        Uye u = new Uye();
        u.Adi = txtAdi.Text;
        u.KullaniciAdi = txtKullaniciAdi.Text;
        u.Email = txtEmail.Text;
        u.Sifre = txtSifre.Text;
        u.Soyadi = txtSoyadi.Text;
        UyeProvider.UyeEkle(u);
        Panel1.Visible = false;
        Panel2.Visible = true;

    }
}
